if not mysuitt.findPos(getlist.getlastcard().suit) then
equal = 1
currentsel = spriteNum - 4
godlist = foundation[row]
else
if (getlist = foundation[#ffive]) or (getlist = foundation[#fsix]) or (getlist = foundation[#fseven]) or (getlist = foundation[#feight]) then
equal = 1
currentsel = spriteNum - 4
godlist = foundation[row]
end if
end if
end if
else
if foundation[row].getcardcount() > 0 then
if (getlist.getlastcard().rankvalue = (foundation[row].getlastcard().rankvalue + 1)) and (getlist.getlastcard().suit = foundation[row].getlastcard().suit) then